<%@ page contentType="text/html;charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/include_head.jsp"%>

<table border="1" align="center">
<caption><h2>Users List</h2></caption>
       <tr>
            <th>index</th>
            <th>User</th>
            <th>submit</th>
            <th>Result</th> 
       </tr>
       <s:iterator value="#request.userlist" id="user" status="u">
       <tr>
            <td <s:if test="#u.index<2">style="background-color:#bbbbbb"</s:if>>
                <s:property value="#u.index+1"/>
            </td>
            <td><s:property value="#user.userId"/></td>
            <td><s:property value="#user.submit"/></td>
            <td><s:property value="#user.solved"/></td>
       </tr>
       </s:iterator>
</table>

<%@ include file="/include_end.jsp"%>
